#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# Copyright [Gtlions Lai].
# Create Date:
# Update Date:
"""summarization ahout this script.

detail ahout this script

    Class(): summarization about Class
    ...
    function(): summarization about function
    ...
"""
__authors__ = '"Gtlions Lai" <gtlions.l@qq.com>'

import pgdb

conn = pgdb.connect(user='gtlions', password='000000', host='localhost', database='gtlions')
cur = conn.cursor()
cur.execute('select * from %s where id = %i' % ('std', 9999))
for ret in cur.fetchall():
    print ret[0], ret[1], ret[2]
cur.close()
conn.commit()
conn.close()
